package com.woniuxy.remote;

import com.woniuxy.utils.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("hospital")
public interface RemoteHospitalService {
    @GetMapping("/hospital/getAllHospital")
    ResultVO getAllHospital();
    @GetMapping("/department/getAllDepartment")
    ResultVO getAllDepartment();
    @GetMapping("/hospital/getHospitalAndDepartment")
    ResultVO getHospitalAndDepartment();
}
